﻿using System;
using System.Security.Cryptography;
using NUnit.Framework;

namespace WebApiSecurity.Tests
{
    [TestFixture, Explicit]
    public class SecretHelper
    {
        [Test]
        public void GenerateClientSecret()
        {
            var rng = new RNGCryptoServiceProvider();
            var buff = new byte[32];
            rng.GetBytes(buff);

            Console.WriteLine(Convert.ToBase64String(buff));
        }
    }
}
